package com.pine.common.beans.pineframework.request;

import com.pine.common.beans.request.SuperQueryRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典表查询请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(title = "SysDictQueryRequest", description = "字典表查询请求体")
public class SysDictQueryRequest extends SuperQueryRequest {

    @Serial
    private static final long serialVersionUID = 5112078154977140825L;
    /**
     * 主键 
     */
    @Schema(title = "id", description = "主键 ")
    private Long id;
    /**
     * 类型名称
     */
    @Schema(title = "name", description = "类型名称")
    private String name;
    /**
     * 类型编码
     */
    @Schema(title = "code", description = "类型编码")
    private String code;
    /**
     * 状态:0=启用,1=禁用
     */
    @Schema(title = "status", description = "状态:0=启用,1=禁用")
    private Integer status;
    /**
     * 描述、备注
     */
    @Schema(title = "remark", description = "描述、备注")
    private String remark;
    /**
     * 创建时间-起始
     */
    @Schema(title = "createTimeStart", description = "创建时间-起始")
    private LocalDateTime createTimeStart;
    /**
     * 创建时间-截止
     */
    @Schema(title = "createTimeEnd", description = "创建时间-截止")
    private LocalDateTime createTimeEnd;
    /**
     * 更新时间-起始
     */
    @Schema(title = "updateTimeStart", description = "更新时间-起始")
    private LocalDateTime updateTimeStart;
    /**
     * 更新时间-截止
     */
    @Schema(title = "updateTimeEnd", description = "更新时间-截止")
    private LocalDateTime updateTimeEnd;
}
